{extend name='public/layout' /}
{block name='content'}
<div class="main garden">
    {include file='xiaoqu/nav' /}
    <div class="garden_rsf">
        <ul>
            {fang:lists table='second_house' field='id,title,img,mianji,address,total_price,estate_name,estate_id,room,ting' where="status=1 and estate_id=$id" order='ordid asc,id desc' limit='16' page='true' id='vo'}
            <li>
                <a href="{:url('Second/detail',['id'=>$vo['id']])}" title="{$vo.estate_name}二手房"><img src="__IMG__/loading.gif" class="lazy" data-original="{$vo.img}" alt="{$vo.title}"></a>
                <h4><a href="{:url('Second/detail',['id'=>$vo['id']])}" title="{$vo.estate_name}二手房">{$vo.title}</a></h4>
                <div>
                    <p><span>{$vo.total_price}</span>万</p>
                    <p>{$vo.room}室{$vo.ting}厅</p>
                    <p>{$vo.mianji}㎡</p>
                </div>
            </li>
            {/fang:lists}

        </ul>
    </div>
    <div class="plastic_bottom_pages">
        {$pages}
    </div>
</div>

{/block}